package com.sg.business.permission.ui.column;

import java.util.Date;

import org.eclipse.jface.viewers.TableViewer;

import com.sg.business.permission.model.PermissionAction;


public class EffectiveToColumn extends AbstractDateColumn {
	
	@Override
	protected Date getDate(PermissionAction element) {
		return element.getEffectiveTo();
	}
	@Override
	protected void setValue(TableViewer viewer, PermissionAction action,
			Date date) {
		action.setEffectiveTo(date);
		super.setValue(viewer, action, date);
	}
}
